export interface Connection {
  id: number
  isActive: boolean

  query(sql: string): Promise<any>

  query(sql: string, values: any | any[] | { [param: string]: any }): Promise<any>

  execute(sql: string): Promise<any>

  execute(sql: string, values: any | any[] | { [param: string]: any }): Promise<any>

  release(): void

  beginTransaction(): Promise<void>

  commit(): Promise<void>

  rollback(): Promise<void>
}
